/**
 * output package name
 */
package com.kingdee.eas.jky.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class CustTypeEnum extends StringEnum
{
    public static final String NEWS_VALUE = "10";
    public static final String OLDS_VALUE = "20";

    public static final CustTypeEnum news = new CustTypeEnum("news", NEWS_VALUE);
    public static final CustTypeEnum olds = new CustTypeEnum("olds", OLDS_VALUE);

    /**
     * construct function
     * @param String custTypeEnum
     */
    private CustTypeEnum(String name, String custTypeEnum)
    {
        super(name, custTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CustTypeEnum getEnum(String custTypeEnum)
    {
        return (CustTypeEnum)getEnum(CustTypeEnum.class, custTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CustTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CustTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CustTypeEnum.class);
    }
}